package com.laowang.project.system.domain;

import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 会员权益对象 my_cyh_vip_authority
 *
 * @author laowang
 * @date 2023-06-01
 */
@NoArgsConstructor
@Data
public class MyCyhVipAuthority implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 会员等级
     */
    @Excel(name = "会员等级")
    @ApiModelProperty(value = "会员等级", required = false)
    private Integer vipLevel;

    /**
     * 权益id
     */
    @Excel(name = "权益id")
    @ApiModelProperty(value = "权益id", required = false)
    private Integer authorityId;

    /**
     * 折扣
     */
    @Excel(name = "折扣")
    @ApiModelProperty(value = "折扣", required = false)
    private BigDecimal discount;

    @Transient
    private String desc;
}
